<script setup>
import Home from "./views/Home.vue";

</script>

<template>
  <div id="app">
    <main class="main">
      <router-view></router-view>
      <!-- <keep-alive>
        <Home v-if="$route.name === 'home'" key="Home" />
      </keep-alive> -->
    </main>
  </div>
</template>

<style scoped>
@media screen and (max-width: 768px) {
  #outside-nav {
    /* 在移动端显示的样式 */
  }
}
.main {
  position: relative;
}
</style>
